package com.zhouheng.common.filestore.exception;


import com.zhouheng.common.base.exception.SysErrorException;

public class FileStoreException extends SysErrorException {
    private static final int CODE_BASE = 1000;
    private static int INCR = 0;

    public static final ErrorCode FILE_NOT_EXISTS = ErrorCode.define(CODE_BASE + (INCR++), "文件不存在");

    public FileStoreException() {
        super(ERROR);
    }

    public FileStoreException(ErrorCode error) {
        super(error);
    }
}
